<?php

	namespace app\controllers\api;

	use app\controllers\api\filter\LoginFilter;

	class ApiController extends \yii\web\Controller
	{
		public $enableCsrfValidation = false;

		public function behaviors () {
			return array_merge(parent::behaviors(),[
				'login'=>[
					'class'=>LoginFilter::class
				]
			]);
		}
	}
